package edu.hunau.cxb.factory.service;

import edu.hunau.cxb.factory.FactoryUtils;
import edu.hunau.cxb.factory.dao.UserDao;
import edu.hunau.cxb.factory.dao.UserDaoJdbcImpl;
 
/**
 *
 * @author hb
 *
 *         2020-04-28 16:02:03
 */
public class UserServiceImpl implements UserService {
	private UserDao userDao = (UserDao)FactoryUtils.newInstance("userDao");

	@Override
	public void registUser() {
		userDao.insertUser();
		System.out.println("UserServiceImpl#registUser...");

	}

}
